package com.ruoyi.project.loan.mapper;

import com.ruoyi.project.loan.domain.ApprovalReport;

import java.util.List;

/**
 * 审批报告Mapper接口
 *
 * @author ruoyi
 * @date 2025-11-11
 */
public interface ApprovalReportMapper {
    /**
     * 查询审批报告
     *
     * @param reportId 审批报告主键
     * @return 审批报告
     */
    public ApprovalReport selectApprovalReportByReportId(Long reportId);

    /**
     * 查询审批报告列表
     *
     * @param approvalReport 审批报告
     * @return 审批报告集合
     */
    public List<ApprovalReport> selectApprovalReportList(ApprovalReport approvalReport);

    /**
     * 新增审批报告
     *
     * @param approvalReport 审批报告
     * @return 结果
     */
    public int insertApprovalReport(ApprovalReport approvalReport);

    /**
     * 修改审批报告
     *
     * @param approvalReport 审批报告
     * @return 结果
     */
    public int updateApprovalReport(ApprovalReport approvalReport);

    /**
     * 删除审批报告
     *
     * @param reportId 审批报告主键
     * @return 结果
     */
    public int deleteApprovalReportByReportId(Long reportId);

    /**
     * 批量删除审批报告
     *
     * @param reportIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteApprovalReportByReportIds(Long[] reportIds);
}
